package interfejs;

import java.awt.BorderLayout;
import java.awt.event.KeyEvent;

import javax.swing.JFrame;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;

import Model.Baza;


public class MainWindowFrame extends JFrame {
	public Baza baza;
	public MainWindowFrame(Baza baza){
		super("Okno glowne");
		this.baza = baza;
	}
	
	public void createGUI(){
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		
		setLocation(200, 150);
		
		setSize(800, 600);

		setJMenuBar(new MainMenu());
		
		add(new MainWindowPanel(), BorderLayout.CENTER);
        
        setVisible(true);	
	}
	
}
